package com.itheima.springboottilasmanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.springboottilasmanager.pojo.dto.GenderCount;
import com.itheima.springboottilasmanager.pojo.dto.StudentCount;
import com.itheima.springboottilasmanager.pojo.vo.StudentQuery;
import com.itheima.springboottilasmanager.pojo.domain.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {




   

   

   

   

    List<GenderCount> countByDegree();

   List<StudentCount> studentCountReport();

    int addViolation(Integer id, Double score);

    Student selectByClassName(Integer id);
}
